{extend name="ashippingguide/Public/base" /}
{block name="container"}
<!-- 标题 -->
<div class="page-heade clearfix">
    <h2 class="title_color text-center">
        <a class="col-md-4 title_color H_right H_active" style="font-size: 16px;"
           href="{:url('ashippingguide/entryapply')}">导购入职申请</a>
        <a class="col-md-4 title_color H_right" style="font-size: 16px;color:#333;"
           href="{:url('ashippingguide/accidentapply')}">导购异动申请</a>
        <a class="col-md-4 title_color H_right" style="font-size: 16px;color:#333;"
           href="{:url('ashippingguide/quitapply')}">导购离职申请</a>
    </h2>
</div>
<!-- 标题 -->
<div>
    <form action="" class="form-inline" id="form1" method="post">
        <table class="row-margin-top tab-content table-bordered table" border="1">
            <tr>
                <td><a href="{:url('ashippingguide/addentryapplep')}" class="btn btn-sm btn-info">新增导购人员入职申请</a></td>
            </tr>
        </table>
    <table class="table table-striped table-bordered table-hover bud_hei text-center">
        <tr class="info">
            <td>NO.</td>
            <td>编号</td>
            <td>主题</td>
            <td>状态</td>
            <td>填写时间</td>
            <td>操作</td>
        </tr>
        {volist name="data" id="list"}
        <tr>
            <td>{$i}</td>
            <td><a href="{:url('ashippingguide/guideInfo')}?id={$list.apple_id});">{$list.no}</a></td>
            <td class="text-left">{$list.theme}</td>
            <td>{$list.state}</td>
            <td>{$list.fillinDate}</td>
            <td><a href="javascript:;">查看流程图</a></td>
        </tr>
        {/volist}
    </table>
    <h5 class="text-center" style="font-size: 13px;font-weight: 500">
        总共有{$count}条记录，第{$page}/{$maxpage}页,当前页<input id="page" name="pages" type="text"  style="width: 40px" value=""/>
        <button id="gopage" type="submit">Go</button>&nbsp;&nbsp;<button id="fistpage" type="submit" onclick="$('#form1').find('input').val('');">首页</button>&nbsp;&nbsp;
        每页显示
        <select id="pagesize" name="limts">
            <option value='10'>10条</option>
            <option value='15'>15条</option>
            <option value='20'>20条</option>

        </select>
        <script>
            $('#pagesize').val("{$limit}");
        </script>
    </h5>
    </form>
    <!-- <h3 class="text-center"><img src="__STATIC__/layout/img/zwsj.png"></h3> -->
</div>
<script>
    $(document).ready(function () {
        $('#reset').on('click', function () {
            $("#form1 input").each(function () {
                $(this).val('');
            });
            $("#form1 select").each(function () {
                $(this).val('');
            });
            $('#form1').submit()
            return false
        })
    })
</script>
{/block}
